package com.hyt.it.ogt.kq.service.gov.model.vo;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.hyt.core.ModelSerializable;
import com.hyt.core.annotation.FailMapping;
import com.hyt.core.annotation.FieldMapping;
import com.hyt.core.annotation.SuccessMapping;
import com.hyt.it.ogt.kq.service.gov.model.param.BatchSelectStudentDataParam;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.List;
import java.util.Map;

/**
 * @program: it-ogt-kq
 * @description: 批量考生检查数据
 * @author: Yang HuanKun
 * @create: 2022-06-29 14:33
 **/
@Data
@Accessors(chain = true)
@Builder
@ApiModel(value = "批量考生检查数据VO", description = "批量考生检查数据")
public class BatchCheckStudentMessageVO implements ModelSerializable {

    @SuccessMapping("姓名")
    @FailMapping("姓名")
    @ApiModelProperty(value = "姓名")
    private String studentName;

    @ApiModelProperty(value = "证件类型")
    private String cardType;

    @SuccessMapping("证件号码")
    @FailMapping("证件号码")
    @ApiModelProperty(value = "证件号码")
    private String cardNumber;

    @SuccessMapping("所属机构")
    @FailMapping("所属机构")
    @ApiModelProperty(value = "所属机构")
    private String officeName;

    @ApiModelProperty(value = "校验状态 true异常  false无异常")
    private Boolean validStatus;

    @FailMapping("数据校验结果")
    @ApiModelProperty(value = "数据校验结果")
    private List<String> validMessage;

    @JsonIgnore
    @ApiModelProperty(value = "数据校验结果code码")
    private List<Integer> errorCodes;

    @JsonIgnore
    @ApiModelProperty(value = "考生选择数据")
    private BatchSelectStudentDataParam studentSelectData;
}
